package com.ptswitch.material.service;

import java.util.List;

import com.ptswitch.material.model.material.BomMaterial;

public interface BomMaterialService {
    public static final int Init_Bom = 1 << 1;
    public static final int Init_Material = 1 << 2;

    public List<BomMaterial> findByBomId(String bomId, int init);

    public List<BomMaterial> findByMaterialCode(String code, int init);
    
    public void deleteAll();
    
    public void saveAll(List<BomMaterial> bomMaterials);

}
